add_definitions(-DCCS_LIB)

include_directories(${CMAKE_CURRENT_SOURCE_DIR}/inc)

set(name "CameraControlSystem")

file(GLOB ${name}_ALL_DOTH_FILES ${CMAKE_CURRENT_SOURCE_DIR}/inc/*.h)
file(GLOB ${name}_ALL_DOTCPP_FILES ${CMAKE_CURRENT_SOURCE_DIR}/src/*.cpp)

message(STATUS "${name}_ALL_DOTH_FILES: ${${name}_ALL_DOTH_FILES}")
message(STATUS "${name}_ALL_DOTCPP_FILES: ${${name}_ALL_DOTCPP_FILES}")

add_library(${name} SHARED
    ${${name}_ALL_DOTH_FILES}
    ${${name}_ALL_DOTCPP_FILES}
)

target_link_libraries(${name}
    debug OgreMain_d optimized OgreMain
    )